let geoGfx = require('geoGfxBase');

let GfxOverlay = cc.Class({

    extends: geoGfx,
    // _shaderName: 'geoOverlay',
    _getShaderName(){
        return 'geoOverlay';
    },

    properties: {
        overlayColor:{
            default:cc.Color.YELLOW,
            tooltip:'叠加颜色'
        },
    },

    _preApplyShader(){
    },
    _postApplyShader(){
        this.setMaterialParams({
            iOverlayColor: this._colorToQuat(this.overlayColor),
        });
    },
    _postUnapplyShader(){
    },
});

module.exports = GfxOverlay;